<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <title>景区管理</title>
        <meta name="keywords" content="景区管理" />
        <meta name="description" content="全国各地的景区添加与管理" />
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/mycommon.css" />
        <script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
        <script type="text/javascript">
        	var cityurl="__PUBLIC__/Js/city.min.js";
        </script>
        <style type="text/css">
            .input_tip{
                font-size:16px;
                height:18px;
                padding:4px;
                padding-left:22px;
                transition: all 0.3s ease 0s;
                -webkit-transition: all 0.5s ease-in-out 0s;
            }
            .focus_tip{color:#FF6600;background:url(images/tipv1.png) no-repeat 0 5px;}
            .right_tip{color:#009828;background:url(images/tipv1.png) no-repeat 0 -20px;}
            .error_tip{color:red;background:url(images/tipv1.png) no-repeat 0 -47px;}
            .ajax_checking_tip{color:#009828;}
            dt{margin:5px 0}
        </style>
    </head>
    <body>
        <div class="head">
            <div class="head_inner clearfix">
            </div>
        </div>
        <div class="container">
            <div class="demo">
                <h2 class="title"><a href="#">景区管理</a></h2>
                <form  method='post' action="{:U('Index/add')}" enctype="multipart/form-data">
                    <dl>
                        <dt>景区名：<span style="padding-left: 385px;">门票类型：</span></dt><dd><input type="text" name="scenicName" class='input'/><input style="margin-left: 200px;" type="text" name="ticketName[]" class='input'/></dd>
                        <dt>小标题：<span style="padding-left: 385px;">门票单价：</span></dt><dd><input type="text" name="title" class='input'/><input style="margin-left: 200px;" type="text" name="ticketPrice[]" class='input'/></dd><img style="margin-left: 430px;" src="__PUBLIC__/Img/jai.png" id="test"/>
                         <div id="testdiv"></div>
                        <dt>图片：</dt><dd><input type="file" name="scenicPic1"/></dd>
                        <dt>图片：</dt><dd><input type="file" name="scenicPic2"/></dd>
                        <dt>图片：</dt><dd><input type="file" name="scenicPic3"/></dd>
                        <dt>图片：</dt><dd><input type="file" name="scenicPic4"/></dd>
                        <dt>纬度：</dt><dd><input type="text" name="lat" class='input'/></dd>
                        <dt>经度：</dt><dd><input type="text" name="long" class='input'/></dd>
                        <dt>电话：</dt><dd><input type="text" name="phone" class='input'/></dd>
                        <dt>地址：</dt><dd><input type="text" name="address" class='input'/></dd>
                        <dt>景区类型：</dt><dd><select id="type" name="type">
                        						<option>山水游</option>
                        						<option>特惠游</option>
                        						<option>古村游</option>
                        						<option>活动游</option>
                        					</select></dd>
    					<dt>景区简介：</dt><dd><textarea name="intro"></textarea></dd>
                        <dt> </dt><dd><button type="submit" class='btn'>提交</button></dd>
                    </dl>
                </form>
            </div>
        </div>
        <div class="foot">
           
        </div>
        


    </body>
    <script type="text/javascript">
    	$("#test").click(function(){
    		var str = "<dt><span style=\"padding-left: 430px;\">门票类型：</span></dt><dd><input style=\"margin-left: 430px;\" type=\"text\" name=\"ticketName[]\" class='input'/></dd><dt><span style=\"padding-left: 430px;\">门票单价：</span></dt><dd><input style=\"margin-left: 430px;\" type=\"text\" name=\"ticketPrice[]\" class='input'/></dd>";
    		$("#testdiv").append(str);
    	});
    </script>
</html>

